package com.aoxin.service.inter.opm;

import com.aoxin.model.SlfPriceHistory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PriceHistoryService {
    /**
     *消费记录查询
     * @param slfPriceHistory
     * @return
     */
    List<SlfPriceHistory> getSlfPriceHistory(SlfPriceHistory slfPriceHistory);

    /**
     * 消费记录删除
     * @param historyId
     * @return
     */
    Integer deleteSlfPriceHistory(@Param("historyId")Integer historyId);

    /**
     * 消费记录批量删除
     * @param historyIds
     * @return
     */
    Integer deletePriceHistory(@Param("historyIds")List<Integer> historyIds);

    /**
     * 消费记录添加
     * @param slfPriceHistory
     * @return
     */
    Integer insertSlfPriceHistory(SlfPriceHistory slfPriceHistory);

    /**
     * 消费记录修改
     * @param slfPriceHistory
     * @return
     */
    Integer updateSlfPriceHistory(SlfPriceHistory slfPriceHistory);
}
